package com.inno.life.controller.dto;

import com.inno.life.common.entity.PageDTO;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.List;

/**
 * @author sean
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class MomentCommentDTO extends PageDTO implements Serializable {
    private static final long serialVersionUID = -62651203678972627L;

    private Long id;
    /**
     * 父评论id
     */
    private Long parentId;
    /**
     * 内容
     */
    private String content;
    /**
     * 图片url
     */
    private String image;
    /**
     * 动态id
     */
    private Long momentId;
    /**
     * 用户id
     */
    private Long userId;
    /**
     * 回复数
     */
    private Integer replyCount;

    private Long currentUserId;

    private List<MomentCommentDTO> children;
    private String username;
    private String avatar;

}

